Release 10.1A: OpenEdge Development:
ADM and SmartObjects


SmartDataObject query and update operations

SmartDataViewers and SmartDataBrowsers provide the display and browse capabilities that make the data retrieved by a database query accessible to an application user; however, these SmartObjects never directly access a database. The query and update operations that do access the database are performed, instead, by a SmartDataObject to which the SmartDataViewer or SmartDataBrowser is linked. The SmartDataObject manages query and update operations using two automatically created Progress temp-tables, RowObject and RowObjUpd, which serve as data repositories within the application. Figure 7–1 illustrates data flow among a database, a SmartDataObject and its temp-tables, and a client object of the SmartDataObject, in this case a SmartDataViewer.

Figure 7–1: The SmartDataObject and its temp-tables

The following sections discuss how the SmartDataObject uses the RowObject and RowObjUpd temp-tables in query and update operations. A subsequent section describes special fields in the RowObject and RowObjUpd temp-tables.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095